﻿body
{
    background-color:#808080;
    font-family: "B Nazanin";
    font-style:normal;
    font-weight:normal;
    font-size:medium;
    color: #990000;
    font-size: 100%;
    direction: rtl;
    float: right;
}

#wrapper
{
    overflow: auto;
}

#pageframe
{
    width: 80%;
    height: inherit;
    position: absolute;
    left: 10%;
    border: 10px solid black;
    background-color:#f3f9f9;
    font-size: smaller;
}

#header
{
    height: 200px;
    float:none;
}

#header-text
{
    top:100px;
    position: absolute;
    font-size: large;
    float:right;
    margin-right: 20px;
    font-weight: bold;
}

#logo
{
    float:left;
}

#content-left
{
    margin: 0px 5px 0px 5px;
    padding: 5px 10px 5px 5px;
    float: right;
}

#content
{
    float: right;
    width: 97%;
    height: 500px;
    margin: 10px 10px 10px 10px;
    padding: 5px 5px 5px 5px;
}

#rightcolumn
{
    float: right;
}

.button
{
    background-color: #2ae;
    font-family: "B Nazanin";
    border-width: 0px;
    margin-right: 10px;
    cursor: pointer;
    color:White;
    padding: 0px 6px 6px 6px;
    height: 22px;
    float: none;
    top: -3px;
    position: relative;
}

fieldset
{
    display: inline;
}

.searchform legend
{
    cursor: pointer
}

.searchform fieldset
{
    padding-top: 0px;
    padding-bottom: 0px;
    display: inline;
}

.searchform .formcontent
{
    display: none;
    white-space: nowrap;
}

a /* fix a bug in firefox, forcing links to show even when display:none is used (when javascript is disabled)*/
{
    position: absolute;
    top: -1000px;
}

.hide
{
    display: none;
}

.farsinumber, .validateform, .searchform /* no-styled classes - just here for visual studio intelli-sense */
{
}

/************** menu style ***************/

#blueblock{
border-right: 1px solid #000;
padding: 0 0 1em 0;
margin-bottom: 1em;
background-color: #90bade;
color: #333;
margin-left: 5px;
float: right;
}

* html #blueblock{ /*IE 6 only */
width: 147px; /*Box model bug: 180px minus all left and right paddings for #blueblock */
}

#blueblock ul{
list-style: none;
margin: 0;
padding: 0;
border: none;
}

#blueblock li {
border-bottom: 1px solid #90bade;
margin: 0;
}

#blueblock li a{
display: block;
padding: 5px 5px 5px 8px;
border-left: 10px solid #1958b7;
border-right: 10px solid #508fc4;
background-color: #2175bc;
color: #fff;
text-decoration: none;
width: 100%;
}

html>body #blueblock li a{ /*Non IE6 width*/
width: auto;
}

#blueblock li a:hover{
border-left: 10px solid #1c64d1;
border-right: 10px solid #5ba3e0;
background-color: #2586d7;
color: #fff;
}

/* code no longer needed - just here to make sure nothing gets corrupted
        (will be deleted soon)*/
/*#menu
{
    border-collapse:collapse;
    margin-left: 4px;
    width: 100px;
    float: left;
    text-align: left;
}

#menu a
{
    padding: 2px 5px 2px 5px;
    border: 1px inset black;
    display:block;
    color: white;
    text-decoration: none;
    background-color: #b9e3e3;
    text-align:center;
}

#menu a:hover
{
    background-color: #b8e6f1;
    color: black;
}*/